package org.jeecg.modules.monitoring.j_monitoring.entity.fdnEntity;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.jeecg.modules.monitoring.j_monitoring.entity.RealStorageItem;

import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.List;

/**
 * @Description: 网关-存储结果
 * @Author: xiaoyq
 * @Date:   2023-06-12
 * @Version: V1.0
 */
@Data
public class StorageResultDataNew {
    //ping响应时间
    private String pingTime = "-";
    //ping响应时间
    private String runTime = "-";
    //总容量
    private String totalCapacity = "-";

    private String cpu = "-";

    private String IOPS = "-";

    private int normalController = 0;
    private int warningController = 0;

    private int normalDisk = 0;
    private int warningDisk = 0;

    private int normalFan = 0;
    private int warningFan = 0;

    private int normalPower = 0;
    private int warningPower = 0;

    private String brand;

    private List<StorageCon> controllerList = new ArrayList<>();

    private List<StorageCon> diskList = new ArrayList<>();

    private List<RealStorageItem> fanList = new ArrayList<>();

    private List<RealStorageItem> powerList = new ArrayList<>();

    //新需求：曙光展示结构与华为不同
    private List<RealSugonItem> sugonItemList = new ArrayList<>();

    @ApiModelProperty(value = "总大小")
    private BigDecimal totalSize = new BigDecimal(0);

    @ApiModelProperty(value = "总百分比")
    private BigDecimal totalPercentage = new BigDecimal(0);

    @ApiModelProperty(value = "已用大小")
    private BigDecimal usedSize = new BigDecimal(0);

    @ApiModelProperty(value = "剩余大小")
    private BigDecimal availSize = new BigDecimal(0);

    private List<Lun> lunList = new ArrayList<>();



}
